package com.ruoyi.item.domain;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.SysRole;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.SysAccount;
import com.ruoyi.system.domain.SysCompanyInfo;
import com.ruoyi.system.domain.SysPhone;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 店铺管理对象 item_shop
 * 
 * @author ruoyi
 * @date 2022-03-11
 */
public class ItemShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺id */
    private Long shopId;

    /** 店铺名 */
    @Excel(name = "店铺名")
    private String shopName;

    /** 店铺状态 */
    @Excel(name = "店铺状态")
    private Long shopState;

    /** 平台 */
    @Excel(name = "平台")
    private String platformName;

    /** 店铺类型 */
    @Excel(name = "店铺类型")
    private Long shopType;

    /** 主体名 */
    @Excel(name = "主体名")
    private Long shopPrid;

    /** 部门 */
    @Excel(name = "部门")
    private Long companyId;

    /** 负责人 */
    @Excel(name = "负责人")
    private Long shopUid;

    /** 团队 */
    @Excel(name = "团队")
    private String shopTeam;

    /** 手机号 */
    @Excel(name = "手机号")
    private Long shopPid;

    /** 账号 */
    @Excel(name = "账号")
    private String shopAccountname;

    /** 密码 */
    @Excel(name = "密码")
    private String shopPassword;

    /** 绑定邮箱 */
    @Excel(name = "绑定邮箱")
    private String emailAdress;

    /** 绑定卡号 */
    @Excel(name = "绑定卡号")
    private String bankAccount;

    /** 手机号使用人 */
    @Excel(name = "手机号使用人")
    private String phoneName;

    /** 假删除判定值0：删除1：未删除 */
    private Long delFlag;
    private SysDept dept;
    public SysDept getDept()
    {
        return dept;
    }

    public void setDept(SysDept dept)
    {
        this.dept = dept;
    }
    private SysCompanyInfo companyInfo;
    public SysCompanyInfo getCompanyInfo() {
        return companyInfo;
    }
    private SysPhone  phone;
    public SysPhone getPhone() {
        return phone;
    }
    private SysUser user;

    private List<SysAccount> account;

    public List<SysAccount> getAccount() {
        return account;
    }

    public SysUser getUser() {
        return user;
    }
    private SysUser user1;

    public SysUser getUser1() {
        return user1;
    }

    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setShopState(Long shopState) 
    {
        this.shopState = shopState;
    }

    public Long getShopState() 
    {
        return shopState;
    }
    public void setPlatformName(String platformName) 
    {
        this.platformName = platformName;
    }

    public String getPlatformName() 
    {
        return platformName;
    }
    public void setShopType(Long shopType) 
    {
        this.shopType = shopType;
    }

    public Long getShopType() 
    {
        return shopType;
    }
    public void setShopPrid(Long shopPrid) 
    {
        this.shopPrid = shopPrid;
    }

    public Long getShopPrid() 
    {
        return shopPrid;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setShopUid(Long shopUid) 
    {
        this.shopUid = shopUid;
    }

    public Long getShopUid() 
    {
        return shopUid;
    }
    public void setShopTeam(String shopTeam) 
    {
        this.shopTeam = shopTeam;
    }

    public String getShopTeam() 
    {
        return shopTeam;
    }
    public void setShopPid(Long shopPid) 
    {
        this.shopPid = shopPid;
    }

    public Long getShopPid() 
    {
        return shopPid;
    }
    public void setShopAccountname(String shopAccountname) 
    {
        this.shopAccountname = shopAccountname;
    }

    public String getShopAccountname() 
    {
        return shopAccountname;
    }
    public void setShopPassword(String shopPassword) 
    {
        this.shopPassword = shopPassword;
    }

    public String getShopPassword() 
    {
        return shopPassword;
    }
    public void setEmailAdress(String emailAdress) 
    {
        this.emailAdress = emailAdress;
    }

    public String getEmailAdress() 
    {
        return emailAdress;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setPhoneName(String phoneName) 
    {
        this.phoneName = phoneName;
    }

    public String getPhoneName() 
    {
        return phoneName;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("shopName", getShopName())
            .append("shopState", getShopState())
            .append("platformName", getPlatformName())
            .append("shopType", getShopType())
            .append("shopPrid", getShopPrid())
            .append("companyId", getCompanyId())
            .append("shopUid", getShopUid())
            .append("shopTeam", getShopTeam())
            .append("shopPid", getShopPid())
            .append("shopAccountname", getShopAccountname())
            .append("shopPassword", getShopPassword())
            .append("emailAdress", getEmailAdress())
            .append("bankAccount", getBankAccount())
            .append("phoneName", getPhoneName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
                .append("user", getUser())
                .append("companyInfo", getCompanyInfo())
                .append("phone",  getPhone())
                .append("user1", getUser1())
                .append("account", getAccount())
                .append("dept", getDept())
            .toString();
    }
}
